package com.lanxin.stu.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author cyh
 * @create 2025-09-17 9:51
 */
@Data
@ApiModel(value = "学生信息")
public class StudentVO implements Serializable {

    @ApiModelProperty(value = "学生编号")
    private Integer id;

    @ApiModelProperty(value = "班级编号")
    private Integer cid;

    @ApiModelProperty(value = "学生名称")
    private String stuname;

    @ApiModelProperty(value = "学生年龄")
    private Integer age;

    @ApiModelProperty(value = "学生性别")
    private String sex;

    @ApiModelProperty(value = "学生生日")
    private LocalDate birthday;

    @ApiModelProperty(value = "学生地址")
    private String address;

    @ApiModelProperty(value = "班级名称")
    private String cname;
}
